from abc import ABC, ABCMeta,abstractmethod

class api(object):
    __metaclass__ = ABCMeta

    @abstractmethod
    def create_task(self):
        """
        创建任务
        """
        pass

    @abstractmethod
    def get_task_info(self,param = {}):
        """
        获取任务信息
        """
        pass